﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.Web;
using DiscoveryLogic.DataServices.DataObjects.Entities;

namespace DiscoveryLogic.DataServices.Entities
{
    [ServiceContract(Namespace = ServiceSettings.ServiceNamespace)]
    public interface IPersonService
    {
        [OperationContract]
        List<Person> GetPersons(SearchKey searchKey); 

        //[OperationContract(AsyncPattern = true)]
        //IAsyncResult GetPersons(SearchKey searchKey, AsyncCallback callback, object state);

        //List<Person> EndGetPersons(IAsyncResult result);
    }
}
